﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000B91 RID: 2961
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MonopolyGameGachaScRsp : IMessage<MonopolyGameGachaScRsp>, IMessage, IEquatable<MonopolyGameGachaScRsp>, IDeepCloneable<MonopolyGameGachaScRsp>, IBufferMessage
	{
		// Token: 0x1700255C RID: 9564
		// (get) Token: 0x06008476 RID: 33910 RVA: 0x00160EE4 File Offset: 0x0015F0E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MonopolyGameGachaScRsp> Parser
		{
			get
			{
				return MonopolyGameGachaScRsp._parser;
			}
		}

		// Token: 0x1700255D RID: 9565
		// (get) Token: 0x06008477 RID: 33911 RVA: 0x00160EEB File Offset: 0x0015F0EB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MonopolyGameGachaScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700255E RID: 9566
		// (get) Token: 0x06008478 RID: 33912 RVA: 0x00160EFD File Offset: 0x0015F0FD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MonopolyGameGachaScRsp.Descriptor;
			}
		}

		// Token: 0x06008479 RID: 33913 RVA: 0x00160F04 File Offset: 0x0015F104
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyGameGachaScRsp()
		{
		}

		// Token: 0x0600847A RID: 33914 RVA: 0x00160F17 File Offset: 0x0015F117
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyGameGachaScRsp(MonopolyGameGachaScRsp other) : this()
		{
			this.resultList_ = other.resultList_.Clone();
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600847B RID: 33915 RVA: 0x00160F4D File Offset: 0x0015F14D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyGameGachaScRsp Clone()
		{
			return new MonopolyGameGachaScRsp(this);
		}

		// Token: 0x1700255F RID: 9567
		// (get) Token: 0x0600847C RID: 33916 RVA: 0x00160F55 File Offset: 0x0015F155
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> ResultList
		{
			get
			{
				return this.resultList_;
			}
		}

		// Token: 0x17002560 RID: 9568
		// (get) Token: 0x0600847D RID: 33917 RVA: 0x00160F5D File Offset: 0x0015F15D
		// (set) Token: 0x0600847E RID: 33918 RVA: 0x00160F65 File Offset: 0x0015F165
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600847F RID: 33919 RVA: 0x00160F6E File Offset: 0x0015F16E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MonopolyGameGachaScRsp);
		}

		// Token: 0x06008480 RID: 33920 RVA: 0x00160F7C File Offset: 0x0015F17C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MonopolyGameGachaScRsp other)
		{
			return other != null && (other == this || (this.resultList_.Equals(other.resultList_) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06008481 RID: 33921 RVA: 0x00160FCC File Offset: 0x0015F1CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.resultList_.GetHashCode();
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008482 RID: 33922 RVA: 0x00161019 File Offset: 0x0015F219
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008483 RID: 33923 RVA: 0x00161021 File Offset: 0x0015F221
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06008484 RID: 33924 RVA: 0x0016102C File Offset: 0x0015F22C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.Retcode);
			}
			this.resultList_.WriteTo(ref output, MonopolyGameGachaScRsp._repeated_resultList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06008485 RID: 33925 RVA: 0x0016107C File Offset: 0x0015F27C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.resultList_.CalculateSize(MonopolyGameGachaScRsp._repeated_resultList_codec);
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06008486 RID: 33926 RVA: 0x001610D0 File Offset: 0x0015F2D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MonopolyGameGachaScRsp other)
		{
			if (other == null)
			{
				return;
			}
			this.resultList_.Add(other.resultList_);
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06008487 RID: 33927 RVA: 0x0016111D File Offset: 0x0015F31D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06008488 RID: 33928 RVA: 0x00161128 File Offset: 0x0015F328
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 24U)
				{
					if (num != 104U && num != 106U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.resultList_.AddEntriesFrom(ref input, MonopolyGameGachaScRsp._repeated_resultList_codec);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040032A1 RID: 12961
		private static readonly MessageParser<MonopolyGameGachaScRsp> _parser = new MessageParser<MonopolyGameGachaScRsp>(() => new MonopolyGameGachaScRsp());

		// Token: 0x040032A2 RID: 12962
		private UnknownFieldSet _unknownFields;

		// Token: 0x040032A3 RID: 12963
		public const int ResultListFieldNumber = 13;

		// Token: 0x040032A4 RID: 12964
		private static readonly FieldCodec<uint> _repeated_resultList_codec = FieldCodec.ForUInt32(106U);

		// Token: 0x040032A5 RID: 12965
		private readonly RepeatedField<uint> resultList_ = new RepeatedField<uint>();

		// Token: 0x040032A6 RID: 12966
		public const int RetcodeFieldNumber = 3;

		// Token: 0x040032A7 RID: 12967
		private uint retcode_;
	}
}
